Skip to main content

Upgrade AIV in Windows

This documentation contains the steps to upgrade existing AIV in the windows system.

Objective

Objective of this document is to guide the user in the upgrade process of AIV on a Windows machine.

Steps to Upgrade AIV in Windows

Note

Click here to know how to install AIV in window.

danger

Before upgrading AIV, it is recommended to take backup of repository and front end code first.

To take backup of repository, go to (your directory)/AIV/ and you will see repository folder. copy this whole folder and paste it in safe backup drive.

To take backup of front end code, go to (your directory)/AIV/tomcat/webapps/ and you will see aiv folder. copy this whole folder and paste it in safe backup drive.

Stop tomcat server first before running AIV setup file. Go into the directory where AIV is installed. you will see start_db.bat, start_aiv.bat, stop_db.bat, stop_aiv.bat files. Double click on stop_aiv.bat to stop tomcat server. once tomcat is stopped, double click on stop_db.bat to stop postgreSQL server if you have installed with posegreSQL database.

danger

in case you have installed with different database other than PostgreSQL, stop_db.bat file will not be available.

  1. Download & Extract AIV Installer in respective drive.

  2. Locate and double-click the .exe file. (It will usually be in your Downloads folder or in your respective drive.)

  3. Dialog box will ask user for User Account Control. Click on Yes button.

  4. A dialog box will appear & Follow the instructions to install the software. Click on Next button.

    Docusaurus Slash Introduction

  5. Accept the aggrement & Click on Next button.

    Docusaurus Slash Introduction

  6. You can see 2 options here and by default Upgrade Existing AIV checkbox is selected. keep it as it is & click on Next button.

    Docusaurus Slash Introduction

  7. Provide path of aiv directory where user installed AIV earlier.

    info

    User need to select AIV folder where it is installed. jst up tp AIV folder not inside of it. Also if you have renamed your tomcat folder with any version or port number or anything other than only tomcat then it is recommended to rename tomcat folder and keep it only tomcat otherwise upgrade setup not able to locate tomcat folder and it will create new tomcat folder inside AIV folder.

    Docusaurus Slash Introduction

  8. Click on Next button & Extracting Installation Files will take place.

  9. One dialog box will open & ask user to select update option. Clik on local radio box & Next button respectively.

    info

    If the user selects update option setup will check if any newer version is available on the server or not. If yes, It will fetch a new build from the server and then install AIV with an updated build.

    If the user select local option, setup will use files available with setup to install AIV.

    Select the preferred option & click on the Next button

    Docusaurus Slash Introduction

  10. As user click on Next button info dialog box will open asking for Abort Installation as shown:

    Docusaurus Slash Introduction

  11. As user clicks on OK button. One dialog box will open as shown:

    Docusaurus Slash Introduction

  12. Click on Next button & Ready to Install dialog box will appeaar as shown:

    Docusaurus Slash Introduction

  13. Click on Next button & Installation of Uppgraded files will take place.

  14. Upgradation will finish in some time. When finished, you will see screen like below image

    Docusaurus Slash Introduction

  15. Click on Finish button.

  16. Your AIV is upgraded & ready to use.

  17. start AIV server. Go into the directory where AIV is installed. you will see start_db.bat, start_aiv.bat, stop_db.bat, stop_aiv.bat files. Click on start_db to Start PostgreSQL if AIV is installed with PostgreSQL. In case AIV is installed with MySQL you will not find start_db.bat file. To start the application server double click and run start_aiv.bat and wait for about 2 min till the tomcat server starts.